import request from '@/utils/request'

// 时间段收费列表
export function rechargeList (params) {
    return request({
      params,
      url: '/back/rechargeList'
    })

}

// 新增收费规则
export function addRecharge (data) {
  return request({
    data,
    url: '/back/addRecharge',
    method: 'post'
  })
}

//删除收费规则
export function deleteRecharge (params) {
  return request({
    params,
    url: '/back/deleteRecharge',
    method: 'delete'
  })
}